/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 粒子背景 */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* 导航点 */
.nav-dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 20px 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #00e5ff;
  border-color: #00e5ff;
  box-shadow: 0 0 20px #00e5ff;
}

/* 主容器 */
.container {
  position: relative;
}

.section {
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* 标题样式 */
.main-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #00e5ff 0%, #ff006e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Section 1: 相机系统 */
.camera-main {
  text-align: center;
  margin-bottom: 80px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 60px 40px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00e5ff;
}

.highlight-text {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.big-number {
  font-size: 6rem;
  font-weight: 900;
  background: linear-gradient(180deg, #fff 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sensor-text {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* 3D镜头效果 */
.camera-preview {
  margin-top: 40px;
}

.lens-3d {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate3d 10s infinite linear;
}

.lens-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #00e5ff, #ff006e, #00e5ff);
  padding: 10px;
}

.lens-glass {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent);
  backdrop-filter: blur(10px);
}

@keyframes rotate3d {
  0% { transform: rotateY(0deg) rotateX(10deg); }
  100% { transform: rotateY(360deg) rotateX(10deg); }
}

/* 镜头组网格 */
.lens-gallery {
  margin-bottom: 60px;
}

.lens-gallery h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.lens-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.lens-item:hover {
  transform: translateY(-10px);
}

.lens-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.lens-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 229, 255, 0.3));
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* 相机UI展示 */
.camera-ui-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.ui-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-screen {
  height: 200px;
  background: #111;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.mode-indicator {
  font-size: 0.9rem;
  color: #00e5ff;
  margin-bottom: 20px;
}

.camera-controls {
  display: flex;
  justify-content: space-around;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.camera-controls span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* 星空模式 */
.astro-mode {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
      radial-gradient(2px 2px at 20px 30px, #eee, transparent),
      radial-gradient(2px 2px at 40px 70px, #eee, transparent),
      radial-gradient(1px 1px at 50px 160px, #eee, transparent),
      radial-gradient(1px 1px at 130px 40px, #eee, transparent);
  background-size: 200px 200px;
}

/* Section 2: 性能配置 */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.spec-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
}

.spec-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  position: relative;
}

/* CPU图标 */
.cpu-icon {
  background: linear-gradient(45deg, #00e5ff, #ff006e);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpu-core {
  width: 60%;
  height: 60%;
  background: #000;
  border-radius: 10px;
  position: relative;
}

.cpu-core::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #00e5ff, #ff006e);
  border-radius: 10px;
  z-index: -1;
  animation: rotate 3s linear infinite;
}

/* 屏幕图标 */
.screen-icon {
  background: #111;
  border-radius: 15px;
  border: 3px solid #333;
  position: relative;
  overflow: hidden;
}

.screen-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 电池图标 */
.battery-icon {
  background: #222;
  border-radius: 10px;
  border: 3px solid #444;
  position: relative;
}

.battery-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 8px;
  height: 30px;
  background: #444;
  border-radius: 0 5px 5px 0;
}

.battery-level {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(to top, #00e5ff, #00ff88);
  border-radius: 7px;
  animation: charge 2s infinite alternate;
}

@keyframes charge {
  0% { height: 20%; }
  100% { height: 80%; }
}

/* 统计数据 */
.screen-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

.stat .value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e5ff;
  margin-bottom: 5px;
}

.stat .label {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 冷却系统动画 */
.cooling-system {
  margin-top: 20px;
  position: relative;
}

.ice-text {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.heat-flow {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff006e, transparent);
  bottom: -10px;
  animation: flow 2s infinite;
}

@keyframes flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Section 3: 设计师访谈 */
.interview-layout {
  display: grid;
  gap: 60px;
}

.quote-block {
  text-align: center;
  margin-bottom: 40px;
}

blockquote {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  position: relative;
  display: inline-block;
}

.quote-mark {
  color: #00e5ff;
  font-size: 1.5em;
  position: absolute;
}

.quote-mark:first-child {
  top: -20px;
  left: -40px;
}

.quote-mark:last-child {
  bottom: -40px;
  right: -40px;
}

cite {
  display: block;
  margin-top: 20px;
  font-size: 1.2rem;
  opacity: 0.7;
  font-style: normal;
}

.design-features {
  margin-bottom: 60px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.design-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.design-card h3 {
  color: #00e5ff;
  margin-bottom: 20px;
}

.design-card ul {
  list-style: none;
}

.design-card li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
}

.design-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00e5ff;
}

/* 3D手机预览 */
.phone-3d-preview {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.phone-model {
  width: 300px;
  height: 600px;
  position: relative;
  transform-style: preserve-3d;
  animation: phoneRotate 20s infinite linear;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 40px;
  position: relative;
  box-shadow: 
      0 0 0 2px #444,
      0 20px 40px rgba(0, 0, 0, 0.5);
}

.camera-bump {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  background: #333;
  border-radius: 30px;
  transform: translateZ(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

@keyframes phoneRotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* Section 4: 用户评价 */
.media-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: scale(1.05);
}

.media-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e5ff;
  margin-bottom: 20px;
}

.review-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.9;
}

.rating {
  color: #ffd700;
  font-size: 1.2rem;
}

/* 用户实拍墙 */
.ugc-wall {
  position: relative;
  overflow: hidden;
}

.ugc-wall h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.photo-marquee {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-content img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 15px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section 5: 购买信息 */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.price-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
}

.price-card.featured {
  border-color: #00e5ff;
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #ff006e, #ff4458);
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.storage {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.price {
  margin: 30px 0;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.amount {
  font-size: 3rem;
  font-weight: bold;
  color: #00e5ff;
}

.original {
  text-decoration: line-through;
  opacity: 0.5;
  margin-left: 10px;
}

.buy-btn {
  width: 100%;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.buy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.buy-btn.primary {
  background: linear-gradient(135deg, #00e5ff, #ff006e);
  border: none;
}

.buy-btn.primary:hover {
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}

/* 福利区域 */
.benefits {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.benefits h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #00e5ff;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: transform 0.3s;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-item .icon {
  font-size: 2rem;
}

/* 技术规格表 */
.spec-table-wrapper {
  text-align: center;
}

.spec-toggle {
  background: transparent;
  border: 2px solid #00e5ff;
  color: #00e5ff;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.spec-toggle:hover {
  background: #00e5ff;
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}

.arrow {
  transition: transform 0.3s;
}

.spec-toggle.active .arrow {
  transform: rotate(180deg);
}

.spec-table {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 30px;
}

.spec-table.show {
  max-height: 1000px;
}

.spec-table table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
}

.spec-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-table td:first-child {
  font-weight: bold;
  color: #00e5ff;
  width: 40%;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-dots {
      right: 15px;
  }
  
  .section {
      padding: 60px 20px;
  }
  
  .main-title {
      font-size: 2.5rem;
      margin-bottom: 40px;
  }
  
  .big-number {
      font-size: 4rem;
  }
  
  .price-card.featured {
      transform: scale(1);
  }
  
  .phone-model {
      width: 200px;
      height: 400px;
  }
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}